home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 January - Disc 2 / Macworld (1999-01) (Disk 2).dmg / Serious Demos / Symbolic Composer 4.2 / Environment / System / DEF / Compile / compile-song-apply < prev    next >
Text File  |  1998-10-23  |  811b  |  20 lines

  1. compile-song-apply path resolution type <timesheet>
  2.  
  3. Compiles instrument definitions into MIDI file. If the type is separate, all instruments are saved separately. If the type is "my song" then all instuments are saved on that file. The timesheet is given as a list of strings which can be generated with vector-to-strings. Note that you must use append to add the tonality change points. To examine the vector generated timesheet before compilation use vector-to-timesheet.
  4.  
  5. (compile-song-apply "ccl;output:" 1/1 separate
  6.    master   chords
  7.    bass     master
  8.    strings  master
  9.    theme    master
  10.    transit  master
  11.    effects  master
  12.  
  13.    (append 
  14.     '("........................................................")
  15.      (vector-to-strings 5 64 'normal
  16.       (gen-sin 3 0.5 64)
  17.       (gen-sin 2 0.5 64 30)))
  18. )
  19.  
  20.